﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContactControl.ascx.cs" Inherits="MpSoft.Web.Controls.Customer.ContactControl" %>

<div class="info-contact">
    <%= GetContact() %>
</div>
<div class="form-control">
    <div class="form-item">
        <label for="<%= txtFullName.ClientID %>" class="form-tit">Họ tên: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtFullName" runat="server" data-rule-required="true"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txtEmail.ClientID %>" class="form-tit">Email: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtEmail" runat="server" data-rule-required="true" data-rule-email="true"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txtPhone.ClientID %>" class="form-tit">Điện thoại: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txtCompany.ClientID %>" class="form-tit">Công ty: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtCompany" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txtAddress.ClientID %>" class="form-tit">Địa chỉ: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txTitle.ClientID %>" class="form-tit">Tiêu đề: </label>
        <div class="frm-control">
            <asp:TextBox ID="txTitle" runat="server" data-rule-required="true"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label for="<%= txtContent.ClientID %>" class="form-tit">Nội dung: </label>
        <div class="frm-control">
            <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" data-rule-required="true"></asp:TextBox>
        </div>
    </div>
    <div class="form-item">
        <label class="form-tit">&nbsp; </label>
        <div class="frm-control">
            <asp:Button ID="cmdContact" runat="server" Text="Liên hệ" OnClick="cmdContact_Click" />
        </div>
    </div>
</div>
<script src="http://static.mpsoft.vn/Context/js/plugins/validation/jquery.validate.min.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/validation/additional-methods.min.js"></script>
<script type="text/javascript">
    Validation();
</script>